package com.baidu;

public class Student {
    public String name;
    public int age;

    public static int classRoom;//static修饰的成员变量不属于对象，而是属于类的
    public Student(int age, String name) {
        this.age = age;
        this.name = name;
    }

    public void show(){
        System.out.println("姓名"+ this.name+"年龄"+this.age);
    }
}
